﻿
@model IEnumerable<CubicFWNet.Data.Models.MaterialFormat>
@{
    Layout = "~/Views/Shared/_InfoPage.cshtml";
}

<section class="content">
    <div class="form-horizontal">
        <div class="box box-solid">
            <div class="box-body">
               
                <table class="footable table table-stripped table-bordered table-hover" id="footable" data-page-size="20" data-filter=#filter>
                    <thead>
                        <tr>
                            <th data-sort-ignore="true">
                                规格
                            </th>
                            <th data-sort-ignore="true">
                                长度MM
                            </th>
                            <th data-hide="phone,tablet" data-sort-ignore="true">
                                宽度MM
                            </th>
                            <th data-hide="phone,tablet" data-sort-ignore="true">
                                数量
                            </th>
                            @*<th data-hide="phone,tablet" data-sort-ignore="true">
                                总面积
                            </th>*@
                        </tr>
                    </thead>
                    <tbody>
                        @if (null != Model)
                        {
                            foreach (var item in Model)
                            {
                                <tr>
                                    <td>
                                        @item.Format
                                    </td>
                                    <td>
                                        @item.Length
                                    </td>
                                    <td>
                                        @item.Width
                                    </td>
                                    <td>
                                        @item.Amount
                                    </td>
                                    @*<td>
                                        @item.Area
                                    </td>*@
                                </tr>
                            }
                        }
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</section>

